//
//  QLMEvaluationCell.m
//  Xiaomakuaixiu
//
//  Created by 龚碧容 on 2017/10/23.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "QLMEvaluationCell.h"

@implementation QLMEvaluationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

- (IBAction)_selectBtnAction:(UIButton *)sender{
    [_delegate tapBtnAction:sender.tag];
}

+ (instancetype)cellWithTableView:(UITableView *)tableView AtIndexPath:(NSIndexPath *)indexPath{
    
//    static NSString *identifiew=[NSString stringWithFormat:@"QLMEvaluationCellId%ld%ld",indexPath.section,indexPath.row];
    
    QLMEvaluationCell *cell=[tableView cellForRowAtIndexPath:indexPath];
    
    if (cell==nil) {
        cell=[[[NSBundle mainBundle] loadNibNamed:@"QLMEvaluationCell" owner:nil options:nil] firstObject];

        UIFont *aFont=[UIFont systemFontOfSize:16];
        
        cell.tip1Label.font=aFont;
        cell.tip2Label.font=aFont;
        cell.tip3Label.font=aFont;
        
        cell.ture1Btn.titleLabel.font=aFont;
        cell.false1Btn.titleLabel.font=aFont;
        cell.ture2Btn.titleLabel.font=aFont;
        cell.false2Btn.titleLabel.font=aFont;
        cell.ture3Btn.titleLabel.font=aFont;
        cell.false3Btn.titleLabel.font=aFont;
    }
    return cell;
}

@end
